home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / dviware / dvi2tty / README < prev    next >
Text File  |  1995-01-12  |  2KB  |  54 lines

  1.                 DVI2TTY
  2.  
  3.  
  4. dvi2tty is intended for previewing dvi-files on text-only
  5. devices (terminals and lineprinters).
  6. The program is basicly an improved C version of the pascal
  7. program written by Svante Lindahl (see README.ORG).
  8. I translated it because I could not find a pascal compiler 
  9. on our machine that could compile it.
  10. The program runs under UNIX and MSDOS without problems
  11. It should also run under VMS. 
  12. (you may need some site dependend redefinitions, see below).
  13. Undocumented option: the -e option can be used to influence
  14. the width of spaces. With a negative value the number of spaces 
  15. between words becomes less, with a positive value it becomes more.
  16. Just play around if you like, -e-11 worked nice with me.
  17.  
  18.  
  19.                 DISDVI
  20.  
  21. Disdvi is a simple hack that dumps a dvi file in a more readable form.
  22. It is not a spectacular program but use it and improve as you wish.
  23. I'd appreciate any enhancements made, bug reports etc. mailed to me.
  24.   
  25.  
  26.     COMPILING THE PROGRAMS
  27.  
  28. Disdvi is rather simple and does not need any modifications.
  29. To compile under VMS, you might need to define an extra macro:
  30. Add a -DVMS on the command line, or add a line
  31. #define VMS
  32. in the dvi2tty.h file.
  33. For dvi2tty you may find the following problems:
  34.  
  35.  function strchr() can not be found:
  36.       Your are probably a BSD UNIX or alike.
  37.       Solution: #define strchr index
  38.  '/usr/bin/pg' program not found.
  39.       Solution: change the DEFPAGER macro in dvi2tty.c
  40.  To compile under VMS, you might need to define an extra macro:
  41.   Add a -DVMS on the command line, or add a line
  42.   #define VMS
  43.  
  44. Thats all, good luck.
  45.  
  46.  
  47. - Marcel 
  48. -----------------------------------------
  49. | Marcel J.E. Mol                       | They hate you if your're clever
  50. | Delft University of Technology        | And they despise the fool
  51. | The Netherlands                       | Till you're so fucking crazy
  52. | UUCP: marcel@duteca.tudelft.nl        | You can't follow the rules.
  53. -----------------------------------------             - Lennon
  54.